<style>
	#small_footer{
		margin-left: 5%;
		margin-right: 5%;
		padding-top: 1em;
		text-align: center;
		border-bottom: 1px solid #ddd;
		padding-bottom: 0.8em;
		font-size: 1em;
	}
	#small_footer a{
		color: #555;
	}
	#small_footer a:actived{
		color: #555;
	}

	#small_footer span{
		margin-left: 35px;
	}

	#footer_msg{
		text-align: center;
		padding-top: 1em;
		font-size: 0.8em;
	}

	<?php
		$user_agent = $_SERVER['HTTP_USER_AGENT'];
		//只有是微信访问的情况下，以下设置才生效
		if (strpos($user_agent, 'MicroMessenger') !== false) {
	?>
	#small_footer{
		display: none !important;
	}
	<?php
		}
	?>
</style>



<div id='small_footer'>
	<?php
		if(!isset($_COOKIE['key'])){
	?>
	<a href="/wap/tmpl/member/login.php">登录</a>
	|
	<a href="/wap/tmpl/member/register.php">注册</a>
	<?php			
		}
	?>
	
	<span>
		服务热线：<?php echo $config['service_phone'];?>
	</span>
</div>

<div id='footer_msg'>
	<?php echo $footer_msg;?>
</div>